package com.neuedu.qian.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.apache.ibatis.type.Alias;

import java.io.Serializable;
import java.util.Date;
/**
* Author lu
* Date  2025-07-31 09:49:29
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@Alias("teacher")
@TableName(value = "teacher")
public class Teacher implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
    *教师id(主键自增长)
    */
    @TableField(value = "tea_id")
    @TableId(type = IdType.AUTO)
    private Integer teaId;

    /**
    * 教师编号(定长10位)
    */
    @TableField(value = "tea_no")
    private String teaNo;
    /**
    * 教师姓名
    */
    @TableField(value = "name")
    private String name;
    /**
    * 密码(md5加密)
    */
    @TableField(value = "password")
    private String password;
    /**
    * 手机号码(定长11位)
    */
    @TableField(value = "phone")
    private String phone;
    /**
    * 电子邮箱
    */
    @TableField(value = "email")
    private String email;
    /**
    * 政治面貌
    */
    @TableField(value = "political")
    private String political;
    /**
    * 性别(1:男;2:女)
    */
    @TableField(value = "gender")
    private Object gender;
    /**
    * 出生日期
    */
    @TableField(value = "birthday")
    private Date birthday;
    /**
    * 身份证号码(定长18位)
    */
    @TableField(value = "id_card")
    private String idCard;
    /**
    * 民族
    */
    @TableField(value = "nationality")
    private String nationality;
    /**
    * 籍贯
    */
    @TableField(value = "native_place")
    private String nativePlace;
    /**
    * 户籍地址
    */
    @TableField(value = "registered_address")
    private String registeredAddress;
    /**
    * 居住地址
    */
    @TableField(value = "residential_address")
    private String residentialAddress;
    /**
    * 员工状态(1:就职中;2:试用中;3:实习中;4:已离职)
    */
    @TableField(value = "employee_status")
    private Object employeeStatus;
    /**
    * 职称
    */
    @TableField(value = "title")
    private String title;
    /**
    * 紧急联系人
    */
    @TableField(value = "contact")
    private String contact;
    /**
    * 紧急联系人电话
    */
    @TableField(value = "contact_phone")
    private String contactPhone;
    /**
    * 与联系人关系
    */
    @TableField(value = "relationship")
    private String relationship;
    /**
    * 备注信息
    */
    @TableField(value = "remark")
    private String remark;
    /**
    * 创建时间
    */
    @TableField(value = "create_time")
    private Date createTime;
    /**
    * 创建用户id
    */
    @TableField(value = "create_user_id")
    private Integer createUserId;
    /**
    * 修改时间
    */
    @TableField(value = "update_time")
    private Date updateTime;
    /**
    * 修改用户id
    */
    @TableField(value = "update_user_id")
    private Integer updateUserId;
    /**
    * 记录状态(1:正常;9:停用或删除)
    */
    @TableField(value = "record_status")
    private Object recordStatus;
}